﻿<%@ Page Language="C#" MasterPageFile="~/impresiones/MasterImpresiones.master" AutoEventWireup="true" CodeFile="OrdenDeCompra.aspx.cs" Inherits="Reportes_OrdenDeCompra" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    &nbsp;<table title="100%" style="width: 700px">
        <tr>
            <td style="width: 70px; text-align: left">
                Numero OC :</td>
            <td style="width: 100px; text-align: left">
                <asp:Label ID="lblNumeroOC" runat="server" Width="100%"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 70px; text-align: left">
                Fecha :</td>
            <td style="width: 100px; text-align: left">
                <asp:Label ID="lblFecha" runat="server" Width="100%"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 70px; text-align: left">
                Proveedor :</td>
            <td style="width: 100px; text-align: left">
                <asp:Label ID="lblProveedor" runat="server"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: left">
    <asp:GridView ID="gdvDetalleOC" runat="server" AutoGenerateColumns="False" DataKeyNames="Id"
        ShowFooter="True"
        Width="100%">
        <RowStyle CssClass="RowStyle" />
        <Columns>
            <asp:TemplateField HeaderText="Producto">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("Producto.Descripcion") %>'></asp:Label>
                </ItemTemplate>
                <HeaderStyle HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Valor Unitario">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label2" runat="server" Text='<%# Eval("ValorUnitario") %>'></asp:Label>
                </ItemTemplate>
                <HeaderStyle HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Right" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Cantidad">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label3" runat="server" Text='<%# Eval("Cantidad") %>'></asp:Label>
                </ItemTemplate>
                <HeaderStyle HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Right" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="ValorTotal">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <FooterTemplate>
                    <asp:Label ID="lblTotal" runat="server" Text='<%# Eval("ValorTotal") %>'></asp:Label>
                </FooterTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label4" runat="server" Text='<%# Eval("ValorTotal") %>'></asp:Label>
                </ItemTemplate>
                <FooterStyle HorizontalAlign="Right" />
                <HeaderStyle HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Right" />
            </asp:TemplateField>
        </Columns>
        <PagerStyle CssClass="PagerStyle" />
        <SelectedRowStyle CssClass="SelectedRowStyle" />
        <HeaderStyle CssClass="HeaderStyle" />
        <AlternatingRowStyle CssClass="AltRowStyle" />
    </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>

